package defaulPackage;

public class User {
	private String name;
	private String email;
	private Login login;
	private Profile profile;
	private Band band;

	public User(String name, String email, Profile profile, Login login) {
		this.name = name;
		this.email = email;
		this.profile = profile;
		this.login = login;
	}

	public void createBand(Band band) {
		this.band = band;
	}

	public void removeBand() {
		band = null;
	}

	public Band getBand() {
		return band;
	}

	public String getName() {
		return name;
	}
	
	public String getEmail() {
		return email;
	}

	public Login getLogin() {
		return login;
	}

	public Profile getProfile() {
		return profile;
	}


}
